package net;

/**
 * The NetConnectionDelegate interface needs to be implemented by delegate objects
 * of NetConnection instances. The NetConnection object will notify it's delegate
 * about incoming messages or ping results by calling this functions.
 */
public interface NetConnectionDelegate {
	public void connectionReceivedMessage(NetConnection connection, NetMessage message);
	public void connectionReceivedPingBack(NetConnection connection, long ping);
}
